package com.qys.livesMall.shop.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.app.user.model.dto.sys.SysHomeStatisticsDTO;
import com.qys.livesMall.shop.modal.entity.H2ShopRechargeWithdrawal;

import java.math.BigDecimal;
import java.util.List;

public interface H2ShopRechargeWithdrawalDao extends IService<H2ShopRechargeWithdrawal> {

    /**
     * 待审核提现
     * @param dto
     * @return
     */
    BigDecimal getAuditWithdrawal(SysHomeStatisticsDTO dto);

    BigDecimal getInitiateWithdrawal(Integer userSysType);

    H2ShopRechargeWithdrawal getWaitAuditWl(Long userId);

    boolean isFirstRecharge(Long shopId);
}
